package com.my.design.structural.proxy.staticProxy.impl;

import com.my.design.structural.proxy.staticProxy.*;

/**
 * @author 代廷波
 * @className: CarImpl1
 * @description:
 * @create 2018/12/21 0021-10:26
 **/
public class CarImpl  implements ICar {

    @Override
    public void move(String carName,int max) {
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("名称--"+carName+"最快速度---"+max+"--码");

    }
}
